//package cn.display.pixelworksx7.hook;
//
//import android.content.Context;
//import android.content.Intent;
//import android.os.Bundle;
//import android.view.MotionEvent;
//import de.robv.android.xposed.IXposedHookLoadPackage;
//import de.robv.android.xposed.XC_MethodHook;
//import de.robv.android.xposed.XposedBridge;
//import de.robv.android.xposed.XposedHelpers;
//import de.robv.android.xposed.callbacks.XC_LoadPackage;
//
//import java.io.PrintWriter;
//import java.lang.reflect.Constructor;
//
//public class SystemFrameworkHook implements IXposedHookLoadPackage {
//    private String TAG = "SystemFrameworkHook---";
//
//    public void logParams (XC_MethodHook.MethodHookParam param) {
//        Object[] args = param.args;
//        XposedBridge.log(TAG + "---" + param.method.getName());
//        for (Object arg : args) {
//            XposedBridge.log(TAG + "---" + arg.toString() + "");
//        }
//    }
//    @Override
//    public void handleLoadPackage(XC_LoadPackage.LoadPackageParam loadPackageParam) throws Throwable {
//        String packageName = loadPackageParam.packageName;
//        XposedBridge.log( TAG + packageName);
//        if (packageName.equals("com.android.settings")) {
//       } else if (packageName.equals("android")) {
//            Class oplusZoomWindowManagerClass = XposedHelpers.findClass("com.oplus.zoomwindow.OplusZoomWindowManager",loadPackageParam.classLoader);
//            Object oplusZoomWindowManagerObj = XposedHelpers.callStaticMethod(oplusZoomWindowManagerClass, "getInstance");
//            XposedHelpers.callMethod(oplusZoomWindowManagerObj,"hideZoomWindow",
//                    0x800
//                    );
//        }
//    }
//}
